package com.cleaningcloud.erp.api.domain;

import com.cleaningcloud.common.core.annotation.Excel;
import com.cleaningcloud.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 库存商品数量变更记录对象 erp_commodity_stock_alter
 *
 * @author cleaningcloud
 * @date 2025-02-19
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ErpCommodityStockAlter extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long wareCommodityNumberDayId;

    /**
     * 仓库ID
     */
    @Excel(name = "仓库ID")
    private Long wareId;

    /**
     * 商品ID
     */
    @Excel(name = "商品ID")
    private Long commodityId;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private BigDecimal commodityNumber;

    /**
     * 操作类型：1.入库2.出库3.调拨4.消耗5.报损6.报溢
     */
    @Excel(name = "操作类型：1.入库2.出库3.调拨4.消耗5.报损6.报溢")
    private String operateType;

}
